import Vue from 'vue'
import axios from './router/axios'
import VueAxios from 'vue-axios'
import App from './App'
import router from './router/router'
import store from './store'
import i18n from './lang' // Internationalization
import basicBlock from './components/basic-block/main'
import basicContainer from './components/basic-container/main'
import website from '@/config/website'
import './core/use'
import bootstrap from './core/bootstrap'

Vue.prototype.website = website
Vue.config.productionTip = false
Vue.use(VueAxios, axios)

// 注册全局容器
Vue.component('basicContainer', basicContainer)
Vue.component('basicBlock', basicBlock)

new Vue({
  router,
  store,
  i18n,
  created: bootstrap,
  render: h => h(App)
}).$mount('#app')
